package com.tsing.bms.vo.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author TheTsing
 * @create 2021-05-03 15:41
 */
@Data
public class HouseAddReqVo {

    @NotBlank(message = "房屋名称不能为空")
    private String name;

    @NotBlank(message = "房屋描述不能为空")
    private String description;

    @NotBlank(message = "单元id不能为空")
    private String unitId;

    /**
     * 状态 1 出租 2 空置  3 自主
     */
    @NotNull(message = "状态不能为空")
    private Integer status;

    /**
     * 住户id
     */
    private String householdId;

}
